package com.nwpu.am.constant;

/**
 * ErrorConstant
 *
 * @author Roy
 * @version 1.0
 * {@code @date} 2024/6/3
 */

public class ErrorConstant {
    private ErrorConstant() {}

    /**
     * 通用错误
     */
    public static final String ADD_WRONG = "添加错误";
    public static final String DELETE_WRONG = "删除错误";
    public static final String UPDATE_WRONG = "更新错误";
    public static final String SELECT_WRONG = "查询错误";
    public static final String DIFFERENT_PASSWORD = "两次密码不相同";

    /**
     * 登录错误
     */
    public static final String WRONG_PASSWORD = "密码错误";
    public static final String USER_NOT_FIND = "用户不存在";
    public static final String USER_HAS_EXISTED = "用户已存在";

    /**
     * 传输信息错误
     */
    public static  final String SUPPLIER_NOT_FIND = "供应商不存在";
    public static  final String PART_NOT_FIND = "零件不存在";
    public static  final String PART_HAS_EXISTED = "零件已存在";
    public static final String WAREHOUSE_NOT_FIND = "仓库不存在";
    public static final String QUANTITY_SHORTAGE = "数量不足";
    public static final String WRONG_ID = "id错误";

    /**
     * 知识库错误
     */
    public static final String UNEXPECTED_RULE = "知识库中没有该规则的前提或结论";
    public static final String SAME_KNOWLEDGE = "前提和结论不能相同";
    public static final String WRONG_TYPE = "类型错误";

}
